/**
 * Copyright (c) 2014- 2015 YCY Group Holding Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package com.jkwzms.common.entity.search.exception;

/**
 * <p>
 * User: Jack Liang
 * <p>
 * Date: 13-1-17 上午11:44
 * <p>
 * Version:1.0.0
 */
public final class InvalidSearchValueException extends SearchException {

    public InvalidSearchValueException(String searchProperty, String entityProperty, Object value){
        this(searchProperty, entityProperty, value, null);
    }

    public InvalidSearchValueException(String searchProperty, String entityProperty, Object value, Throwable cause){
        super("Invalid Search Value, searchProperty [" + searchProperty + "], " + "entityProperty [" + entityProperty
              + "], value [" + value + "]", cause);
    }

}
